package com.chunfeng.lerunapplication.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * JSON响应类
 *
 * @author by 春风能解释
 * <p>
 * 2022/10/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JsonRequest<T> implements Serializable {
    /**
     * 序列化字段
     */
    private static final long serialVersionUID = 5907809256249813835L;
    /**
     * 状态码
     */
    private Integer status;
    /**
     * 消息
     */
    private String message;
    /**
     * 是否成功
     */
    private Boolean success;
    /**
     * 数据
     */
    private T data;
}
